// FXCollection_BPA.cpp: implementation of the CFXCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/FXCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CFXCollection_BPA::CFXCollection_BPA()
{

}

CFXCollection_BPA::~CFXCollection_BPA()
{

}

CFX_BPA* CFXCollection_BPA::GetFirstFX()
{
	return (CFX_BPA*)CCardCollection_BPA::GetFirstCard();
}

CFX_BPA* CFXCollection_BPA::Traverse(CFX_BPA *pFX, int nDirection)
{
	return (CFX_BPA*)CCardCollection_BPA::Traverse(pFX,nDirection);
}

CFX_BPA* CFXCollection_BPA::GetFX(char *strBusName, double dkV, char nID)
{
	CFX_BPA tempFX;
	strcpy(tempFX.m_strName,strBusName);
	tempFX.m_dkV = dkV;
	tempFX.m_chID = nID;
	return (CFX_BPA*)CCardCollection_BPA::GetCard(&tempFX);
}